package com.crane.oss.sports.bean.response.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Data
public class TermStudentAnalyzeResp implements Serializable {

    @ApiModelProperty(value = ">120心率百分比", name = "sportTimeCount")
    private int sportTimeCount;

    @ApiModelProperty(value = "心率曲线", name = "avgHeartLine")
    private String avgHeartLine;
    @ApiModelProperty(value = "密度曲线", name = "densityLine")
    private String densityLine;
    @ApiModelProperty(value = "时间点", name = "timeLine")
    private String timeLine;

    @ApiModelProperty(value = "最高密度", name = "maxDensity")
    private int maxDensity;
    @ApiModelProperty(value = "最低密度", name = "minDensity")
    private int minDensity;

    @ApiModelProperty(value = "学生人数", name = "studentCount")
    private int studentCount;
    @ApiModelProperty(value = "平均运动强度", name = "avgPower")
    private int avgPower;
    @ApiModelProperty(value = "平均靶心率", name = "avgTargetHeart")
    private int avgTargetHeart;
    @ApiModelProperty(value = "靶心率百分比", name = "targetHeartCount")
    private int targetHeartCount;
    @ApiModelProperty(value = "平均密度", name = "avgDensity")
    private int avgDensity;

    @ApiModelProperty(value = "平均心率", name = "avgHeart")
    private int avgHeart;
    @ApiModelProperty(value = "平均运动时间", name = "avgSportTime")
    private int avgSportTime;
    @ApiModelProperty(value = "平均距离", name = "avgDistance")
    private int avgDistance;
    @ApiModelProperty(value = "平均步数", name = "avgStep")
    private int avgStep;
    @ApiModelProperty(value = "上课次数", name = "classCount")
    private int classCount;
    @ApiModelProperty(value = "运动密度符合节数", name = "exerciseDensityCount")
    private int exerciseDensityCount;
    @ApiModelProperty(value = "平均卡路里", name = "avgCalorie")
    private int avgCalorie;

    @ApiModelProperty(value = "平均负荷", name = "avgLoad")
    private int avgLoad;
    @ApiModelProperty(value = "心率分布", name = "avgHeartColumn")
    private Map<String,Integer> avgHeartColumn;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间", name = "cycleStartTime")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date cycleStartTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", name = "cycleEndTime")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date cycleEndTime;


    @ApiModelProperty(value = "报告时间", name = "reportTime")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date reportTime;

}
